package threading;

/**
 * @author 徐志荣
 * @date 2023/3/16 14:01
 */
public class ThreadDemo11 {
    public static void main(String[] args) throws InterruptedException {
        Thread thread = new Thread(() -> {
            System.out.println("hello t");

        });
        thread.start();

        thread.join();
        System.out.println("hello main");
    }
}
